from django.core.management.base import BaseCommand, CommandError
import yapdi
from ticketer.models import Ticket, Comment

class Command(BaseCommand):
    """
    This command is a daemon starter.  The daemon will listen for mail
    and intercept mail to the supplied ticket mail address found in the configuration.
    """
    daemon = yapdi.Daemon(pidfile='/var/run/tqdaemon.pid')
    
    
        
